Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

162
Views
Highcharts x-range datetime not shwoing with "Date.UTC(2023, 6, 20)"

I am using Highcharts x-range to show data in date range. the graph is not showing with quotes "" for startdate (x) and enddate(x2).

"x": "Date.UTC(2018, 8, 18)",
"x2": "Date.UTC(2023, 6, 20)",

Sample Code added in JS fiddle https://jsfiddle.net/w1b6atc8/

no luck with Date.parse.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

In the notation:

"x": "Date.UTC(2018, 8, 18)",
"x2": "Date.UTC(2023, 6, 20)",

values for x and x2 are just strings. You need to provide dates as millisecond timestamps.

"x": Date.UTC(2018, 8, 18),
"x2": Date.UTC(2023, 6, 20),

Live demo: https://jsfiddle.net/BlackLabel/9721csob/

API Reference: https://api.highcharts.com/highcharts/series.xrange.data

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!